home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000397_fdc@columbia.edu_Fri Nov 7 10:20:39 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem with Kermit spawned from Expect script sending files
Date: 7 Nov 2003 14:36:38 GMT
Organization: Columbia University
Lines: 21
Message-ID: <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068215798 18182 128.59.59.56 (7 Nov 2003 14:36:38 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 7 Nov 2003 14:36:38 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14652
In article <f0bb0f39.0311070527.6ce76ffc@posting.google.com>,
newexpectuser wrote:
:
: I looked at the article and have tried this simple connection:
:
: #!/usr/bin/kermit +
: echo "Starting"
: set host /pipe ssh -e none -l /user:root 111.111.11.111
: lineout "mypassword"
: echo "Connected"
: quit
:
: With this above it does connect, but still waits for me to enter a
: password, I thought the lineout would do this for me, that is why I
: had mentioned EXPECT earlier, it can pass this value via the "send"
: command in EXPECT.
:
What if you use "set host /pty" instead of "set host /pipe"? Expect uses
ptys, so if you tell Kermit to use a pty, it should work like Expect.
- Frank